package com.sz.model;

import org.springframework.data.annotation.Id;
import tk.mybatis.mapper.annotation.KeySql;

import java.util.Date;

public class TUser {
    public TUser() {
    }

    public TUser(Long pkUserId, String ukPhone, String userPassword, String userName, String userNameSoundmark, Long ukIdentityId, Date birthday, Byte sex, Date regDate, String regAddress, Byte status, String acountPassword, String ukNumber) {
        this.pkUserId = pkUserId;
        this.ukPhone = ukPhone;
        this.userPassword = userPassword;
        this.userName = userName;
        this.userNameSoundmark = userNameSoundmark;
        this.ukIdentityId = ukIdentityId;
        this.birthday = birthday;
        this.sex = sex;
        this.regDate = regDate;
        this.regAddress = regAddress;
        this.status = status;
        this.acountPassword = acountPassword;
        this.ukNumber = ukNumber;
    }

    @Override
    public String toString() {
        return "TUser{" +
                "pkUserId=" + pkUserId +
                ", ukPhone='" + ukPhone + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userName='" + userName + '\'' +
                ", userNameSoundmark='" + userNameSoundmark + '\'' +
                ", ukIdentityId=" + ukIdentityId +
                ", birthday=" + birthday +
                ", sex=" + sex +
                ", regDate=" + regDate +
                ", regAddress='" + regAddress + '\'' +
                ", status=" + status +
                ", acountPassword='" + acountPassword + '\'' +
                ", ukNumber='" + ukNumber + '\'' +
                '}';
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.pk_user_id
     *
     * @mbggenerated
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long pkUserId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.uk_phone
     *
     * @mbggenerated
     */
    private String ukPhone;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.user_password
     *
     * @mbggenerated
     */
    private String userPassword;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.user_name
     *
     * @mbggenerated
     */
    private String userName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.user_name_soundmark
     *
     * @mbggenerated
     */
    private String userNameSoundmark;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.uk_identity_id
     *
     * @mbggenerated
     */
    private Long ukIdentityId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.birthday
     *
     * @mbggenerated
     */
    private Date birthday;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.sex
     *
     * @mbggenerated
     */
    private Byte sex;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.reg_date
     *
     * @mbggenerated
     */
    private Date regDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.reg_address
     *
     * @mbggenerated
     */
    private String regAddress;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.status
     *
     * @mbggenerated
     */
    private Byte status;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.acount_password
     *
     * @mbggenerated
     */
    private String acountPassword;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user.uk_number
     *
     * @mbggenerated
     */
    private String ukNumber;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.pk_user_id
     *
     * @return the value of t_user.pk_user_id
     *
     * @mbggenerated
     */
    public Long getPkUserId() {
        return pkUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.pk_user_id
     *
     * @param pkUserId the value for t_user.pk_user_id
     *
     * @mbggenerated
     */
    public void setPkUserId(Long pkUserId) {
        this.pkUserId = pkUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.uk_phone
     *
     * @return the value of t_user.uk_phone
     *
     * @mbggenerated
     */
    public String getUkPhone() {
        return ukPhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.uk_phone
     *
     * @param ukPhone the value for t_user.uk_phone
     *
     * @mbggenerated
     */
    public void setUkPhone(String ukPhone) {
        this.ukPhone = ukPhone == null ? null : ukPhone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.user_password
     *
     * @return the value of t_user.user_password
     *
     * @mbggenerated
     */
    public String getUserPassword() {
        return userPassword;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.user_password
     *
     * @param userPassword the value for t_user.user_password
     *
     * @mbggenerated
     */
    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.user_name
     *
     * @return the value of t_user.user_name
     *
     * @mbggenerated
     */
    public String getUserName() {
        return userName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.user_name
     *
     * @param userName the value for t_user.user_name
     *
     * @mbggenerated
     */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.user_name_soundmark
     *
     * @return the value of t_user.user_name_soundmark
     *
     * @mbggenerated
     */
    public String getUserNameSoundmark() {
        return userNameSoundmark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.user_name_soundmark
     *
     * @param userNameSoundmark the value for t_user.user_name_soundmark
     *
     * @mbggenerated
     */
    public void setUserNameSoundmark(String userNameSoundmark) {
        this.userNameSoundmark = userNameSoundmark == null ? null : userNameSoundmark.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.uk_identity_id
     *
     * @return the value of t_user.uk_identity_id
     *
     * @mbggenerated
     */
    public Long getUkIdentityId() {
        return ukIdentityId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.uk_identity_id
     *
     * @param ukIdentityId the value for t_user.uk_identity_id
     *
     * @mbggenerated
     */
    public void setUkIdentityId(Long ukIdentityId) {
        this.ukIdentityId = ukIdentityId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.birthday
     *
     * @return the value of t_user.birthday
     *
     * @mbggenerated
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.birthday
     *
     * @param birthday the value for t_user.birthday
     *
     * @mbggenerated
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.sex
     *
     * @return the value of t_user.sex
     *
     * @mbggenerated
     */
    public Byte getSex() {
        return sex;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.sex
     *
     * @param sex the value for t_user.sex
     *
     * @mbggenerated
     */
    public void setSex(Byte sex) {
        this.sex = sex;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.reg_date
     *
     * @return the value of t_user.reg_date
     *
     * @mbggenerated
     */
    public Date getRegDate() {
        return regDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.reg_date
     *
     * @param regDate the value for t_user.reg_date
     *
     * @mbggenerated
     */
    public void setRegDate(Date regDate) {
        this.regDate = regDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.reg_address
     *
     * @return the value of t_user.reg_address
     *
     * @mbggenerated
     */
    public String getRegAddress() {
        return regAddress;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.reg_address
     *
     * @param regAddress the value for t_user.reg_address
     *
     * @mbggenerated
     */
    public void setRegAddress(String regAddress) {
        this.regAddress = regAddress == null ? null : regAddress.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.status
     *
     * @return the value of t_user.status
     *
     * @mbggenerated
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.status
     *
     * @param status the value for t_user.status
     *
     * @mbggenerated
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.acount_password
     *
     * @return the value of t_user.acount_password
     *
     * @mbggenerated
     */
    public String getAcountPassword() {
        return acountPassword;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.acount_password
     *
     * @param acountPassword the value for t_user.acount_password
     *
     * @mbggenerated
     */
    public void setAcountPassword(String acountPassword) {
        this.acountPassword = acountPassword == null ? null : acountPassword.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user.uk_number
     *
     * @return the value of t_user.uk_number
     *
     * @mbggenerated
     */
    public String getUkNumber() {
        return ukNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user.uk_number
     *
     * @param ukNumber the value for t_user.uk_number
     *
     * @mbggenerated
     */
    public void setUkNumber(String ukNumber) {
        this.ukNumber = ukNumber == null ? null : ukNumber.trim();
    }
}